wayland: Fill in x_root / y_root of events properly
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 17 Mar 2014 18:58:37 +0000 (14:58 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 17 Mar 2014 19:36:41 +0000 (15:36 -0400)
commit35a1f49db5d7a4715c150561a29d103914df5c94
treef599edc84f2e7c227bbe03c6bfc64bcb7bc7a63f
parentac96c35230f4e706452eafddcd7d972a1170094d
wayland: Fill in x_root / y_root of events properly

Lots of code, including dragging code in GtkWindow, use these
fields. Setting them to 0 causes lots of strange and weird bugs.

Use the same "hack" from query_device_state of just using
win_x / win_y for now. We'll convert this to the proper fake root
coordinate system used by get_root_coords in the next commit.
gdk/wayland/gdkdevice-wayland.c